package com.lihepeng.leecode.jvm;

/**
 * 查看常量池的引用关系
 */
public class Test01 {
    private final int count = 1;
    private final int b = 10;
    private final int a = 10;
    private final String x = "test";

    public static void main(String[] args) {
//        JVMBasicTest instance = JVMBasicTest.getInstance();
//        System.out.println(instance.getA());
//        System.out.println(instance.getB());
        JVMBasicTest02 instance = JVMBasicTest02.getInstance();
        System.out.println(instance.getA());
        System.out.println(instance.getB());
    }

}
